﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GetPassword.aspx.cs" Inherits="Zyg.SSO.Web.User.GetPassword" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>找回密码 - Zyg SSO</title>
    <link href="../style/screen.css" rel="Stylesheet" charset="utf-8" />
    <style type="text/css">
        fieldset
        {
            padding: 10px 10px 10px 30px;
        }
        .main1
        {
            background-color: #ffffff;
            text-align: left;
            padding: 10px;
        }
    </style>
</head>
<body>
    <form id="form2" runat="server">
    <div id="wrapper">
        <div id="head">
            <div id="headContent">
                <div id="siteTitle">
                    Zyg SSO 用户中心
                </div>
            </div>
        </div>
        <div id="sepBar">
        </div>
        <div id="common">
            <div id="userInfo">
                找回密码</div>
            <div id="time">
            </div>
            <div id="commonAction">
            </div>
        </div>
        <div id="content" style="min-height: 100px; padding: 0px;">
            <div class="main1">
                <asp:Panel ID="Step1" runat="server">
                    <fieldset>
                        <legend>找回密码 - 输入邮箱</legend>
                        <p>
                            <span>邮箱:</span>
                            <asp:TextBox ID="AccountEmail" runat="server" CssClass="text"></asp:TextBox>
                        </p>
                        <asp:Button ID="BtnNext1" runat="server" Text="下一步" CssClass="button" 
                            onclick="BtnNext1_Click" />
                    </fieldset>
                </asp:Panel>
                <asp:Panel ID="Step2" Visible="false" runat="server">
                    <fieldset>
                        <legend>找回密码 - 回答密保问题</legend>
                        <p>
                            <span>密码保护问题:</span>
                            <asp:Literal ID="AccountPassQuestion" runat="server"></asp:Literal>
                        </p>
                        <p>
                            <span>密码保护答案:</span>
                            <asp:TextBox ID="AccountPassAnswer" runat="server" CssClass="text"></asp:TextBox>
                        </p>
                        <asp:Button ID="BtnNext2" runat="server" Text="下一步" CssClass="button" 
                            onclick="BtnNext2_Click" />
                    </fieldset>
                </asp:Panel>
                <asp:Panel ID="Step3" Visible="false" runat="server">
                    <fieldset>
                        <legend>找回密码 - 重设密码</legend>
                        <p>
                            <span>新 密 码:</span>
                            <asp:TextBox ID="NewPassword" runat="server" TextMode="Password" CssClass="text"></asp:TextBox>
                        </p>
                        <p>
                            <span>确认密码:</span>
                            <asp:TextBox ID="NewPasswordValidate" runat="server" TextMode="Password" CssClass="text"></asp:TextBox>
                        </p>
                        <asp:Button ID="Btn" runat="server" Text="完成" CssClass="button" 
                            onclick="Btn_Click" />
                    </fieldset>
                </asp:Panel>
            </div>
        </div>
        <div id="footer">
            <asp:Literal ID="Copyright" runat="server"></asp:Literal>
        </div>
    </div>
    </form>

    <script type="text/javascript" src="../script/jquery/jquery-1.3.2.min.js" charset="utf-8"></script>

    <script type="text/javascript" src="../script/zyg.sso.js" charset="utf-8"></script>

    <script type="text/javascript" src="../../script/zyg.sso.account.js" charset="utf-8"></script>

    <script type="text/javascript">
        zyg.sso.showTime("#time");
        zyg.sso.account.page.register("form1");
    </script>

</body>
</html>
